package com.miao.elm.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.miao.elm.dao.OrderdetailetDao;
import com.miao.elm.entity.OrderdetailetEntity;
import com.miao.elm.service.OrderdetailetService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service("orderdetailetService")
public class OrderdetailetServiceImpl extends ServiceImpl<OrderdetailetDao, OrderdetailetEntity> implements OrderdetailetService {


    @Override
    public List<OrderdetailetEntity> getDetail(String orderId) {
        return this.baseMapper.selectList(new QueryWrapper<OrderdetailetEntity>().eq("order_id", orderId));
    }
}